package First;
import javax.mail.Authenticator;
import javax.mail.PasswordAuthentication;

public class MailAuthenticator extends   Authenticator{

//    public static String USERNAME = "hyw707215984@163.com";
//    public static String PASSWORD = "conan92936";
    public static String USERNAME = "zlycgbg@163.com";
    public static String PASSWORD = "#xm05910592";
    public MailAuthenticator() {
    }
    protected PasswordAuthentication getPasswordAuthentication() {
        return new PasswordAuthentication(USERNAME, PASSWORD);
    }
}
